<script type="text/javascript">
$(document).ready(function(){
	s_b_f_init();
});

</script>
<div>
	<div class="ui message hidden" id="s_b_f_message"></div>
</div>
<div class="description s_b_f_desc">请选择上传一个文件</div>
<br />
<div class="ui indicating progress s_b_f_progress" data-value="1" data-total="200">
	<div class="bar">
		<div class="progress"></div>
	</div>
	<div class="label">进度</div>
</div>
<div class="ui compact menu">
	<a class="item" id="s_b_choose" onClick="if($(this).hasClass('disabled'))return;$('#s_f_input_updater').click();">
		<i class="cloud upload icon"></i>
		上传
	</a>
	<a class="item" id="s_b_reset" onClick="if($(this).hasClass('disabled'))return;s_b_f_rechoose();">
		<i class="close icon"></i>
		重新选择
	</a>
	<a class="item" id="s_b_update" onClick="if($(this).hasClass('disabled'))return;s_b_f_startupdate();">
		<i class="cloud upload icon"></i>
		确定
	</a>
</div>
<form method="post" style="display: none;" class="fileajaxform">
	<input type="hidden" name="requestType" value="form_post">
	<div class="ui icon header">
		<input style="display: none" accept="*" type="file" name="file" id="s_f_input_updater" onchange="s_b_f_onFileUpdaterChenge($(this))">
	</div>
</form>
